package com.youxin.busfoundation.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;


/**
 * redis配置信息类
 * @author yingde.cao
 *
 */
@Configuration
@PropertySource("classpath:${spring.profiles.active}/redis-sentinel.properties")
@ConfigurationProperties(prefix = "redis")  
public class RedisSentinelConfig {
	 private String name;  
	    private String gender;  
	    public String getName() {  
	        return name;  
	    }  
	    public void setName(String name) {  
	        this.name = name;  
	    }  
	    public String getGender() {  
	        return gender;  
	    }  
	    public void setGender(String gender) {  
	        this.gender = gender;  
	    }  
}

 